package com.camelot.boot.server;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.text.PDFTextStripper;
import java.io.File;


public class PdfParser {
    public static String extractText(String pdfPath) throws Exception {
        try (PDDocument doc = null) {
            return new PDFTextStripper().getText(doc);
        }
    }
}